//
// Created by wze-zero on 2024/7/18 018.
//
#include<iostream>

using namespace std;

class phone {
    friend class myphone;

private:
    int price;
public:
    phone(int x) {
        price = x;
    }
};

class myphone {
private:
    phone a;
public:
    myphone(int x) : a(x) {
    }

    int getprice() {
        return a.price;
    }
};

int main() {
    int p;
    cin >> p;
    myphone a(p);
    cout << a.getprice();
    return 0;
}